﻿<Page x:Class="MEF_Test.Module.AudioStation.AudioStationMain"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:MediaBrowser="clr-namespace:MEF_Test.Bricks.MediaBrowser;assembly=MEF-Test.Bricks" xmlns:Bricks="clr-namespace:MEF_Test.Bricks;assembly=MEF-Test.Bricks" Title="AudioStationMain">
    <Page.Resources>
        <Bricks:BrowserNodeTemplateSelector x:Key="BrowserNodeTemplateSelector" />
    </Page.Resources>
        <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <TextBox HorizontalAlignment="Stretch" />
        <Button Grid.Column="1" Command="{Binding StartSearch}">Search</Button>
        <MediaBrowser:MediaBrowser Grid.ColumnSpan="2" Grid.Row="1" BrowsingProvider="{Binding BrowsingProvider}" ItemTemplateSelector="{StaticResource BrowserNodeTemplateSelector}"/>
    </Grid>
</Page>
